<?php 
//顶级ID
$cate_top = ($data->zca_level==1)?$data->zca_id:(($data->zca_level==2)?$data->zca_parentid:$data->zca_topid);
//父级
$cate_parent = ($data->zca_level==1)?"":(($data->zca_level==2)?$data->zca_id:$data->zca_parentid);
//三级
$cate_three = ($data->zca_level==3)?$data->zca_id:"";
?>


<option value = '<?php echo CHtml::encode($data->zca_id); ?>'>
	<?php echo CHtml::encode(Category::model()->getTitle($cate_top)); ?>
	<?php if($data->zca_level>2) echo " >> " ;?>
	<?php echo CHtml::encode(Category::model()->getTitle($cate_parent)); ?>
		&nbsp;&nbsp;>>&nbsp;&nbsp;
	<?php echo CHtml::encode(Category::model()->getTitle($cate_three)); ?>
</option>
